package com.frank.config.es.config.utils;

import java.util.List;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/3/13
 * @description
 */
public class ListUtils {

    @SuppressWarnings("unchecked")
    public static <T> List<T> convertObjectToList(Object obj) {
        if (obj instanceof List<?>) {
            return (List<T>) obj;
        } else {
            return null;
        }
    }
}
